/**
 * @author renato
 * Created on 28/04/2006
 * Updated on 02/04/2010
 */
package br.unb.plugins.geral.validation;

import br.unb.utils.Resource;

public class NotANumberValidation implements Validation {

    public String validate(String value) {
        try {
            Double.parseDouble(value);
        } catch (NumberFormatException e) {
            return Resource.getString("DOES_NOT_HAVE_NUMERIC_FORMAT");
        }
        return null;
    }
}
